package cc.vvshop.demo1;

/**
 * 转账接口
 * Created by tomas on 16-6-16.
 */
public interface AccountService {

    /**
     * 转账操作  with Transcation
     * @param out 转出的账户
     * @param in 转入的账户
     * @param money 转账的金额
     * @throws
     */
    void  transfer(String out,String in,Integer money);
    /**
     * 转账操作  withOut Transcation
     * @param out 转出的账户
     * @param in 转入的账户
     * @param money 转账的金额
     * @throws
     */
    void  transferNoTranscation(String out,String in,Integer money);


}
